<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

Oxygen Webhelp plugin
Copyright (c) 1998-2014 Syncro Soft SRL, Romania.  All rights reserved.
Licensed under the terms stated in the license file EULA_Webhelp.txt 
available in the base directory of this Oxygen Webhelp plugin.

-->

<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>Check configuration</title>
      <script src="./files.js" type="text/javascript" charset="utf-8"></script>
   </head>
   <body>
      <noscript>
        <p>You must have JavaScript enable in order to continue!</p>         
      </noscript>
      <script type="text/javascript">
          var path=location.pathname;		  
          var base=location.protocol+"//"+location.host+path.substring(0,path.lastIndexOf("/"));
          
          var http = new XMLHttpRequest();
          var foundAll=true;
          
          for (var i=0; i<files.length; i++){
		  var fileTocheck=base+files[i];
            http.open('HEAD', fileTocheck, false);
            http.send();
            if (http.status==404){
            document.write("file["+i+"]: "+fileTocheck+" is not acccesible !  <br/>");
            foundAll=false;
            }else{
            document.write("file["+i+"] : "+http.status+" : "+fileTocheck+"  <br/>");
            }
            }
            if (foundAll){
            document.write("Everything OK!");
            }else{
            document.write("Not all files are accesible!");
            }
      </script>
   </body>
</html>